<!-- 加载玩法列表模板 -->
<script type="text/html" id="history-template">
<thead>
		<tr>
			<th>序号</th>
            <th>用户</th>
			<th>投注时间</th>
			<th>彩种</th>
			<th>玩法</th>
			<th>期号</th>
			<th>倍数(模式)</th>
			<th>金额(元)</th>
			<th>奖金(元)</th>
			<th>状态</th>
		</tr>
</thead>
</script>
<script type="text/html" id="history-z-template">
	<%_.each(items,function(item,index) {%>
		<tr>
			<td><%=index+1 %></td>
			<td><a href="javascript:;" data-id="<%=item.id%>"><%=item.bets_order %></a></td>
            <td><%=item.uname %></td>
			<td class="bets_time"><%=item.bets_time %></td>
			<td class="lottery_name"><%=item.lottery_lname %></td>
			<td class="play_name"><%=item.play_name %></td>
			<td class="lottery_no"><%=item.lottery_no %></td>
			<td class="bets_mode">
               <%=item.bets_beishu %>
				<%if(item.bets_mode==2.00){%>(元) <%}%>
				<%if(item.bets_mode==0.20){%>(角 )<%}%>
				<%if(item.bets_mode==0.02){%>(分 )<%}%>
			</td>
			<td class="bets_amount"><%=item.bets_amount.toFixed(4) %></td>
			<td class="bets_bonus"><%=item.bets_bonus?item.bets_bonus.toFixed(4):'----' %></td>
			<td class="betsStatus"><%=item.betsStatus %></td> 
		</tr>
	<%})%>
</script>
<script type="text/html" id="history-z-empty-template">
<tr data-flag="empty">
	<td  colspan="11" style="text-align:center;">暂无游戏记录。</td>
</tr>
</script>